<?php /* Smarty version 2.6.18, created on 2017-09-04 10:14:40
         compiled from suserpoints.html */ ?>
<table class="data_table info_table user_panel pointstb">
    <thead><th colspan="2" uid='<?php echo $this->_tpl_vars['uid']; ?>
' fid='<?php echo $this->_tpl_vars['fid']; ?>
' class="uid">【<label><?php echo $this->_tpl_vars['username']; ?>
</label>】退水设定</th></thead>
    <tbody style='display:none;'>
    <td colspan="2">
    <!--统一设置赚取退水:    <select name="liushui" id="liushui">
    
         <?php $_from = $this->_tpl_vars['liushui']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
          <option value="<?php echo $this->_tpl_vars['i']; ?>
"><?php echo $this->_tpl_vars['i']; ?>
</option>
         <?php endforeach; endif; unset($_from); ?><option value="all">全部</option>
               </select>%&nbsp;&nbsp;-->
    <input type="button" class="btn1 btnf setpointssend" value="提交修改" />
     <input type="button" class="btn1 btnf close" value="关闭窗口" /></td>
   </tr>
   <TR >
    <Td colspan="2" style="text-align:left;padding-left:10px;font-size:13px;color:#0063e3">注意事项:<BR />一、如果修改代理级的退水，<Br />
      1、改动后的退水大于改动前退水，该用户所有下线的退水维持不变。<BR />
      2、改动后的退水[P]小于改动前的退水，所有下线的退水和[P]作比较，大于[P]，下线的退水为[P]，小于[P]，下线退水不变<BR />
      二、如果修改占成，该用户的所有下级占成将归0。<BR />
      三、如果修改代理级的单注最大限额，<Br />
      1、改动后的值大于改动前值，该用户所有下线的（单注最大限额）维持不变。<BR />
      2、改动后的值[M]小于改动前的值，所有下线的（单注最大限额）和[M]作比较，大于[M]，下线的(单注最大限额)为[M]，小于[M]，下线(单注最大限额)不变<br />
      四、如果修改用户的（单注最低限额），该用户的所有下线的（单注最低限额）和该用户相同。 </Td>
   </TR>


   </tbody>
  </table>
  
<div class="game_tab_class">
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['fl']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?><a href='javascript:void(0);' gid='<?php echo $this->_tpl_vars['fl'][$this->_sections['i']['index']]['fenlei']; ?>
' class="gamelabel on" fenlei='<?php echo $this->_tpl_vars['fl'][$this->_sections['i']['index']]['fenlei']; ?>
' flname='<?php echo $this->_tpl_vars['fl'][$this->_sections['i']['index']]['flname']; ?>
'><?php echo $this->_tpl_vars['fl'][$this->_sections['i']['index']]['flname']; ?>
</a><?php endfor; endif; ?>
</div>
  <div class="warning_panel">
	快开彩在【<?php echo $this->_tpl_vars['editstart']; ?>
--<?php echo $this->_tpl_vars['editend']; ?>
】修改以下参数才能生效，低频彩开盘期间修改以下参数不会生效！ 当天未投注用户修改参数可以立即生效！
</div>
   <div class="data_footer control"><input type="button" value="修改" class="button setpointssend" /> <input type="button" value="取消"  class="close button"></div>
   <div class="contents param_panel input_panel tab_panel">
<table class="data_table quick">
<thead><tr>
<th>快开彩快速设置</th>

<th>单期限额</th>
<th>单注限额</th>
    <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <th><?php echo $this->_tpl_vars['i']; ?>
盘%</th>
    <?php endforeach; endif; unset($_from); ?>

<th>操作</th></tr></thead>
<tbody>
<tr class="t_BALL"><th class="color">号码类（球号、车号、正码等）</th>
	<td><input class="amount"></td>
	<td><input class="amount"></td>
    <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <td><input name="{$i}" class="commission"></td>
    <?php endforeach; endif; unset($_from); ?>
	


	<td><input type="button" value="修改"></td>
</tr>
<tr class="t_LM"><th class="color">两面类（大小、单双、龙虎、三军等）</th>
	<td><input class="amount"></td>
	<td><input class="amount"></td>
    <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <td><input name="{$i}" class="commission"></td>
    <?php endforeach; endif; unset($_from); ?>

	<td><input type="button" value="修改"></td>
</tr>
<tr class="t_ITEM"><th class="color">多项类（方位、中发白、总和过关等）</th>
	<td><input class="amount"></td>
	<td><input class="amount"></td>
    <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <td><input name="{$i}" class="commission"></td>
    <?php endforeach; endif; unset($_from); ?>

	<td><input type="button" value="修改"></td>
</tr>
<tr class="t_MP"><th class="color">连码类（任选二、任选三、前二组选等）</th>
	<td><input class="amount"></td>
	<td><input class="amount"></td>
    <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <td><input name="{$i}" class="commission"></td>
    <?php endforeach; endif; unset($_from); ?>

	<td><input type="button" value="修改"></td>
</tr>
<tr class="t_"><th class="color">其它（冠亚和、前中后三等）</th>
	<td><input class="amount"></td>
	<td><input class="amount"></td>
    <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <td><input name="{$i}" class="commission"></td>
    <?php endforeach; endif; unset($_from); ?>

	<td><input type="button" value="修改"></td>
</tr>
</tbody>
</table>
<table class="data_table cs2 list">
<thead> </thead>
  <tbody> <Tr >
    <th rowspan="2" colspan=1>    <!--<input type="button" class="btnf yiwotongbu hide" value="" />-->
  <input type="checkbox"  class="all" />全选</th>
  <th colspan="2" rowspan="2">类别</th>
    <?php if ($this->_tpl_vars['plc'] == 1): ?>
    <th rowspan="2" class="plcs">赔率差</th>
    <th rowspan="2" class='hide plcs'>保底赔率</th>
    <?php endif; ?>
    
    <th rowspan="2" >单期限额</th>
    <th rowspan="2">单注限额</th>
    <th rowspan="2">单注最低</th>
    <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <th  class="<?php echo $this->_tpl_vars['i']; ?>
 p" colspan="2"><?php echo $this->_tpl_vars['i']; ?>
盘退水%</th>
    <?php endforeach; endif; unset($_from); ?> </Tr>
   <tr> <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <th class="a p">A</th>
    <th class="a p">B</th>
    <?php endforeach; endif; unset($_from); ?> </tr>

</tbody>
</table>
</div>
<style type="text/css">
.param_panel .data_table tbody th {
	background-color: #F2F2F2;
	width: auto;
}
.param_panel .data_table input{padding:2px;}
.cs2 td,.cs2 th{text-align:center}
.param_panel .data_table tbody td.x{text-align:left;padding-left:2px;}
.param_panel .data_table tbody td.x .tytxt{padding-left:3px;}
</style>